package com.xqboss.apps.enums.user;

import com.xqboss.common.enums.BaseEnum;

/**
 * <p>
 * 实名认证状态
 * </p>
 *
 * @author Trent
 * @date 2023/9/12
 */
public enum RealAuthStatusEnum implements BaseEnum<Integer> {
    WAIT_FACE(0, "待认证,待人脸检测"),
    AUTH_SUCCESS(1, "认证成功"),
    AUTH_FAILED(2, "认证失败"),
    ;

    private final Integer value;
    private final String msg;

    RealAuthStatusEnum(Integer value, String description) {
        this.value = value;
        this.msg = description;
    }

    @Override
    public Integer getValue() {
        return value;
    }

    @Override
    public String getMsg() {
        return msg;
    }
}
